var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// mock/login.js
var login_exports = {};
__export(login_exports, {
  default: () => login_default
});
module.exports = __toCommonJS(login_exports);
var userInfo = {
  accesstoken: "ee8584dcc85b6ad9c36ee86be3e7eec7",
  compId: 2023050401,
  compName: "\u4E2D\u5C71\u5E02\u521B\u601D\u7279\u667A\u80FD",
  pwdUpdDates: 0,
  roleId: 1,
  roleName: "\u7CFB\u7EDF\u7BA1\u7406\u5458",
  userId: 1,
  userName: "\u7CFB\u7EDF\u7BA1\u7406\u5458",
  userNo: "cst_admin",
  userPhone: "13809979008",
  userPwd: null,
  userState: true,
  userType: 1,
  roleCodes: [
    "admin"
  ],
  permissionCodes: [
    "*:*:*"
  ]
};
var login_default = [
  {
    url: "/dev-api/account/login",
    type: "post",
    response: (config) => {
      if (!config.body) {
        return {
          code: 401,
          message: "Account and password are incorrect."
        };
      }
      return {
        code: 200,
        msg: "\u64CD\u4F5C\u6210\u529F",
        data: userInfo
      };
    }
  },
  {
    url: "/dev-api/user/userLoginOut",
    type: "post",
    response: (_) => {
      return {
        code: 40002,
        msg: "\u64CD\u4F5C\u6210\u529F"
      };
    }
  }
];
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsibW9jay9sb2dpbi5qcy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